package com.zl.model;

public class BookBorrow {
	private int id;	//借阅id
	private int userId;//借阅人id
	private String userName;//借阅人用户名
	private int bookId;//借阅书id
	private String bookName;//借阅人所借阅书名
	private boolean isReturn;//是否归还
	private String borrowTime;//借阅人借阅时间
	private String returnTime;//借阅人归还时间
	private String appointMentTime;//预约时间
	private int isAppointMent;//是否预约
	
	public BookBorrow() {
		super();
	}
	
	public BookBorrow(int userId, int bookId) {
		super();
		this.userId = userId;
		this.bookId = bookId;
	}
	
	public BookBorrow(int userId, String userName, int bookId, String bookName, boolean isReturn) {
		super();
		this.bookId = bookId;
		this.userId = userId;
		this.bookName = bookName;
		this.userName = userName;
		this.isReturn = isReturn;
	}
	
	public BookBorrow(int userId, String userName, int bookId, String bookName, boolean isReturn, String borrowTime, String returnTime) {
		super();
		this.bookId = bookId;
		this.userId = userId;
		this.bookName = bookName;
		this.userName = userName;
		this.isReturn = isReturn;
		this.borrowTime = borrowTime;
		this.returnTime = returnTime;
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getUserId() {
		return userId;
	}
	
	public void setUserId(int userId) {
		this.userId = userId;
	}
	
	public String getUserName() {
		return userName;
	}
	
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	public int getBookId() {
		return bookId;
	}
	
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	
	public String getBookName() {
		return bookName;
	}
	
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	
	public boolean getIsReturn() {
		return isReturn;
	}
	
	public void setIsReturn(boolean isReturn) {
		this.isReturn = isReturn;
	}
	
	public String getBorrowTime() {
		return borrowTime;
	}
	
	public void setBorrowTime(String borrowTime) {
		this.borrowTime = borrowTime;
	}
	
	public String getReturnTime() {
		return returnTime;
	}
	
	public void setReturnTime(String returnTime) {
		this.returnTime = returnTime;
	}
	
	public String getAppointmentTime() {
		return appointMentTime;
	}
	
	public void setAppointmentTime(String appointMentTime) {
		this.appointMentTime = appointMentTime;
	}
	
	public int getIsAppointMent() {
		return isAppointMent;
	}
	
	public void setIsAppointMent(int isAppointMent) {
		this.isAppointMent = isAppointMent;
	}
}
